/**
 * Created by IntelliJ IDEA.
 * User: maticm
 * Date: Oct 12, 2003
 * Time: 7:10:53 PM
 * To change this template use Options | File Templates.
 */

package com.generalynx.common.web.navigation;

import com.generalynx.common.web.module.Module;

public class NoLinksMenuItemRenderer extends BasicMenuItemRenderer {

    public String permittedItem(Module node) {
        return "<div class=\"menuitem\">" + node.getLabel() + "</div>";
    }

    public String restrictedItem(Module node) {
        return null;
    }

    public String chosenItem(Module node) {
        return "<div class=\"menuitem selected\">" + node.getLabel() + "</div>";
    }

}
